package cn.tedu.micro.device.dao.repository.impl;

import cn.tedu.micro.device.dao.mapper.GunInfoMapper;
import cn.tedu.micro.device.dao.repository.DeviceRepository;
import cn.tedu.micro.device.po.GunInfoPO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class DeviceRepositoryImpl implements DeviceRepository {
    @Autowired
    private GunInfoMapper gunInfoMapper;


    @Override
    public GunInfoPO getGunById(Integer id) {
        return gunInfoMapper.selectById(id);
    }
}
